import random

count = 0
amount_short = int(input())
for i in range(amount_short):
    x = random.randint(-100, 100)
    y = random.randint(-100, 100)
    if (-7 <= x <= 5) and (-8 <= y <= 5):
        count += 1
print(f"количество выстрелов: {amount_short}")
print(f"количество попаданий: {count}")